<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html" template="/template/read.xhtml">

	<ui:define name="title">
		<h:outputText value="#{param.type}..." />
	</ui:define>

	<ui:define name="content">
		<style type="text/css">
<!--
.test {
	width: 960px;
	margin: 0 auto;
}
-->
</style>
		<div style="min-height: 400px; overflow: hidden;">
			<div style="float: left; width: 360px;">
				<ui:include src="/widget/tabs/price.xhtml" />
			</div>
			<div style="float: right; width: 350px;">
				<ui:repeat value="#{metalAction.metals}" var="news">
					<ul>
						<li><h:link value="#{news.name}" outcome="/news/view">
								<f:param name="id" value="#{news.id}" />
							</h:link>&nbsp; <h:outputText value="#{news.createTime}">
								<f:convertDateTime pattern="yyyy-MM-dd" />
							</h:outputText></li>
					</ul>
				</ui:repeat>
			</div>
		</div>
		<div>bottom</div>
	</ui:define>
</ui:composition>